package tds.model23.version2;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName LapTop
 * @Description 笔记本
 * @author tds
 * @Date 2020/2/6 20:09
 * @version 1.0.0
 */
public class LapTop extends Computer{

    private Brand brand;

    public LapTop(Brand brand) {
        this.brand = brand;
    }

    @Override
    public void sale() {
        System.out.println("销售" + brand.getName() + "笔记本");
    }
}
